package day1;

public class Motor {
    double disp;
    double weight;
    String brand;
    double horsepow;
    public void motorinfo(){
        System.out.println("发动机品牌："+brand);
        System.out.println("发动机排量："+disp+"T");
        System.out.println("发动机重量："+weight+"Kg");
        System.out.println("发动机马力："+horsepow+"马力");
    }


}
